<!--  -->
<template>
  <div class="box">
    <div class="title">
      <div class="icon"></div>
      {{ title }}
    </div>
    <div class="content">
      <slot> </slot>
    </div>
  </div>
</template>

<script>
export default {
  mounted() {},
  props: {
    title: "",
  },
  data() {
    return {};
  },

  methods: {},

  components: {},

  computed: {},
};
</script>
<style lang="scss" scoped>
.box {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.title {
  width: 100%;
  padding: 8px 6px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  //条纹背景
  background: url("../../assets/bigScreen/Intersect.png") repeat-x;
  background-size: auto 100%;
  display: flex;
  align-items: center;
  border: 1px solid #2384dd;
  .icon {
    width: 21px;
    height: 21px;
    background: #2384dd;
    margin-right: 12px;
  }
}
.content {
  flex: 1;
  margin-top: 4px;
  border: 1px solid #1e6fbc;
}
</style>
